package com.crm.service;

import com.crm.entity.CrmActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.entity.CrmUser;
import com.crm.vo.ActivityDetail;
import com.crm.vo.PageBean;
import com.crm.vo.SysActivity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author junxian,dou
 * @since 2024-11-25
 */
public interface ICrmActivityService extends IService<CrmActivity> {

    void saveSysActivity(SysActivity activity);

    PageBean<CrmActivity> pageList(PageBean pageBean);

    void deleteById(List<String> id);

    void updateWithId(SysActivity activity);

    void fileDownload(List<String> id, HttpServletResponse response);

    void importActivity(MultipartFile file, CrmUser userInfo);

    ActivityDetail getDetailActivity(String id);
}
